﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.ConfigModel
{
    public class BookTypeModel
    {
        [XmlAttribute("value")]
        public string value { get; set; }
        [XmlElementAttribute("XmlPath", IsNullable = false)]
        public List<XmlLableModel> xmlLableModelList { get; set; }
    }

    public class CaseCause_je_Model
    {
        [XmlAttribute("value")]
        public string value { get; set; }
        [XmlElementAttribute("XmlPath", IsNullable = false)]
        public List<XmlLableModel> xmlLableModelList { get; set; }
    }

    public class XmlLableModel
    {
        [XmlAttribute("value")]
        public string value { get; set; }
        [XmlAttribute("attribute")]
        public string attribute { get; set; }
        [XmlAttribute("addattrbuten")]
        public string addattrbuten { get; set; }
    }
    [Serializable]
    [XmlRootAttribute("root", IsNullable = false)]
    public class AmountModel 
    {
        [XmlElementAttribute("booktype", IsNullable = false)]
        public List<BookTypeModel> bookTypeModelList;

        [XmlElementAttribute("casecause", IsNullable = false)]
        public List<CaseCause_je_Model> xmlLableModelList;
    
    }
}
